﻿namespace Mangosoft.DiceCopy.Domain.MainBoundedContext.Aggregates.EducationAgg {
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using Mangosoft.DiceCopy.Domain.Seedwork;

    public class Education : Entity, IValidatableObject {
        ///<summary>
        ///weibo
        ///</summary>
        public int SchoolTypeCode { get; set; }
        ///<summary>
        ///weibo
        ///</summary>
        public string School { get; set; }
        ///<summary>
        ///weibo
        ///</summary>
        public string StartYear { get; set; }
        ///<summary>
        ///
        ///</summary>
        public string EndYear { get; set; }
        ///<summary>
        ///weibo
        ///</summary>
        public string College { get; set; }
        ///<summary>
        ///
        ///</summary>
        public int? MajorCode { get; set; }
        ///<summary>
        ///
        ///</summary>
        public int EducationLevelCode { get; set; }
        ///<summary>
        ///描述学习经历
        ///</summary>
        public string Notes { get; set; }
        ///<summary>
        ///
        ///</summary>
        public int ProvinceCode { get; set; }
        ///<summary>
        ///
        ///</summary>
        public int CityCode { get; set; }
        ///<summary>
        ///
        ///</summary>
        public Guid ResumeId { get; set; }
        ///<summary>
        ///
        ///</summary>
        public DateTime DateCreated { get; set; }
        ///<summary>
        ///
        ///</summary>
        public DateTime LastUpdated { get; set; }
        #region IValidatableObject Members
        public IEnumerable<ValidationResult> Validate(ValidationContext validationContext) {
            var validationResults = new List<ValidationResult>();

            return validationResults;
        }
        #endregion
    }
}
